module XiaoneiHelper
  
  def gender_selected(couple, params_gender)
    case couple 
    when "gb" : 'selected="selected"' if params_gender == nil or params_gender == "gb"
    when "gg" : 'selected="selected"' if params_gender and params_gender == "gg"
    when "bb" : 'selected="selected"' if params_gender and params_gender == "bb"
    end
  end
end
